package com.decent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author 王雪杰
 * @date 2021/8/10 10:29
 * @description
 */
@Mapper
public interface NewTableMapper {
    /**
     * id
     *
     * @param id id
     * @return id
     */
    @Select("select id from newtable where id = #{id} for update")
    int queryName(@Param("id") Long id);
}
